package com.catfive.jet_work.feature.switchpanel

import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import com.catfive.jet_work.viewmodel.NavigationViewModel

const val SWITCH_PANEL_ROUTE = "switch_panel"


fun NavGraphBuilder.switchPanelScreen(
    finish: () -> Unit,
    navigationViewModel: NavigationViewModel
) {
    composable(
        SWITCH_PANEL_ROUTE,
//        enterTransition = { slideIn(initialOffset = { size -> IntOffset(size.width, 0) }) },
//        exitTransition = { slideOut(targetOffset = { size -> IntOffset(size.width, 0) }) },
    ) {
        SwitchPanelRoute(finish = finish, navigationViewModel = navigationViewModel)
    }
}
